/************************************************************************/
/*    Author: Scott Bevin                                               */
/************************************************************************/

#pragma once

#include "../Property.h"
#include "../PropertyMaker.h"

namespace XF
{
	class StringProperty : public Prop<std::string>
	{
	public:
		StringProperty(std::string typeID, const std::string &name) : Prop<std::string>(typeID, name){}

		std::string ToString()
		{
			return mData.mValue;
		}

		void SetFromString(std::string value)
		{
			mData.mValue = value;
		}

	private:
		static PropertyMaker<StringProperty, std::string> mRegisterThis;
	};

}